#ifndef GRAPHICS_H_
#define GRAPHICS_H_

void loadImage(char *name, SDL_Surface **dst, int R, int G, int B);
void drawIMGrect(SDL_Surface *src, SDL_Surface *dst, int x, int y, int w, int h, int destx, int desty);
unsigned int getPixel(SDL_Surface *screen, int x, int y);
void drawCircle(SDL_Surface *screen,int x0, int y0, int radius, int color, int filled);
void putPixel(SDL_Surface *screen, int x, int y, int color);
void drawHorLine(SDL_Surface *screen, int x0, int y0, int x, int color);
void erodeEarth(SDL_Surface *ground, int color, int bgColor, int x, int y, int h, int w, unsigned short int *yCoords);

void drawVerLine(SDL_Surface *screen, int x, int y0, int y, int color);
void clearScreen(SDL_Surface *screen, int color);

void intFontDraw();
void unloadFonts();
void drawCharacter(SDL_Surface *surface, SDL_Surface *bg, int character, int x, int y);
void drawString(SDL_Surface *surface, SDL_Surface *bg, char *s, int x, int y);

#endif /*GRAPHICS_H_*/
